package com.ketai.service;

import com.ketai.common.KetaiException;
import com.ketai.pojo.Organization;

import javax.naming.NamingException;
import java.sql.SQLException;
import java.util.List;

/**
 * @Author: 高伟华
 * @Description:
 * @Date:Create In 2022-08-06 15:22
 **/
public interface OrganizationService {
    List<Organization> queryOrganizationList() ;
    //根据id删除
    int deleteOrganizationById(Integer id) ;
    //根据id修改
    int addOrganization(Organization organization) throws KetaiException;

    Organization organizationById(String id);

    int checkedorganization(String id,String open,String desc,String pid);


}
